package com.itheima.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


/**
 * @program: xiaohua-service
 * @ClassName XioaHuaClient
 * @author: WXK
 * @create: 2023-10-29 21:14
 **/
@FeignClient("weather-service")
public interface XioaHuaClient {

    @GetMapping("/weather/getCityWeatherInfo/{cityName}")
    String getCityWeatherInfo(@PathVariable("cityName") String cityName);
}
